package com.linkage.lcims.base.dao.business.interfaces;

import java.util.List;

import com.linkage.lcims.base.po.business.BdGroupAccessAttr;
import com.linkage.util.exception.DAOException;

/**
 * @author Owner
 * @date 2008-1-7
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 * @version 1.0
 */
public interface GroupAccessAttrDAO {
	
	public int deleteGroupAccessAttr(Integer groupid) throws DAOException;
	
//	public Integer getMaxAttrid(Integer groupid, Integer recordid) throws DAOException;
	
	public void save(BdGroupAccessAttr groupAttr) throws DAOException;
	
	public List<BdGroupAccessAttr> getAccessAttrRecordById (Integer groupid,Integer recordid)throws DAOException;
	
	public List<BdGroupAccessAttr> getAccessAttrRecordAllById(Integer groupid) throws DAOException;
	
	public List<BdGroupAccessAttr> getAll()throws DAOException;
	
	public BdGroupAccessAttr getAccessAttrById(BdGroupAccessAttr groupAttr) throws DAOException;
	
	public void update(BdGroupAccessAttr groupAttr) throws DAOException;
	
	public void deleteGroupAttrRecord(BdGroupAccessAttr groupAttr) throws DAOException;
	
	public void deleteAttrRecordById(Integer groupid,Integer recordid)throws DAOException;

}
